package cn.edu.sjtu.se.dslab.DAO;

import cn.edu.sjtu.se.dslab.component.design.DesignPattern;
import cn.edu.sjtu.se.dslab.exception.DBException;

public interface IDesignPatternDAO {
	
	public void save(DesignPattern designPattern) throws DBException;
	
//	public void delete(long id);
	
	public DesignPattern update(DesignPattern designPattern)throws DBException;
	
	public DesignPattern query(long id) throws DBException;
	
	
}
